package models

import (
	"github.com/astaxie/beego/orm"
	"time"
)

type Menu struct {
	Id int
	Name string `orm:"size(50)"`
	Url string `orm:"size(150)"`
	Sort int `orm:"default(1)"`
	Created_at time.Time `orm:"type(datetime);auto_now_add"`
}

func init()  {
	orm.RegisterModel(new(Menu))
}